 /* To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jhave.client;

import javax.swing.*;
import java.util.*;
import java.awt.*;
import org.jdom.Element;

/**
 *
 * @author bosmak40
 */
public class Textarea_Label_Line_Element extends JHAVE_Abstract_TextArea_Element implements JHAVE_Element{
    

    Textarea_Label_Line_Element(Element child, JPanel returnedPanel, Vector components){
        super(child, returnedPanel, components);
    }


     /**
     * Adds Textarea label line element to returnedPanel.
     *
     */
    public void addElementToPanel(){
        this.returnedPanel.add(new JLabel(child.getText()));
    }

}